package fjdz;
import java.awt.image.BufferedImage;
import java.io.IOException;
import javax.imageio.ImageIO;
public class Gongjutp{
	public static BufferedImage getImg(String path) {
		try {
			BufferedImage im = ImageIO.read(Gongjutp.class.getResource(path));
			return im;
		} catch (IOException e) {
			e.printStackTrace();
		}
		return null;
	}
}



